package com.godyao.mall.file.api.feign;

import com.godyao.mall.core.model.ResultMsg;
import com.godyao.mall.file.api.feign.fallback.FileFeignFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author godyao
 * @date 2022年04月21日15:24
 */
@FeignClient(value = "mall-file-server", contextId = "mall-file-server", fallback = FileFeignFallback.class)
public interface FileFeign {
    @GetMapping("/mall-file-server/oss/getSign")
    ResultMsg getSign();
}
